
nums = [[1, 2], [3,4], [5, 6], [7, 8]]
# nums = [1, 2, 3, 4, 5, 6, 7, 8]
# 找出所有的偶数并打印出来
for i in range(len(nums)):
    for j in range(len(nums[i])):
        if nums[i][j]%2==0:
            print(nums[i][j])

